<?php
/**
 * Created by JetBrains PhpStorm.
 * User: quangvu
 * Date: 5/25/13
 * Time: 9:52 AM
 * To change this template use File | Settings | File Templates.
 */
//Root path
define('DS' , DIRECTORY_SEPARATOR );
define('PATH_ROOT', dirname(__FILE__) . DS );
//Core paths
define('PATH_CORE_BASE', PATH_ROOT . 'core' . DS . 'base' . DS );
define('PATH_CORE_LIBS', PATH_ROOT . 'core' . DS . 'libs' . DS );
define('PATH_CORE_SERVICES', PATH_ROOT . 'core' . DS . 'services' . DS );
//Resource paths
define('PATH_RESOURCES', PATH_ROOT . 'resources' . DS );
define('PATH_CONFIGS', PATH_RESOURCES . 'configs' . DS );
//Application paths
define('PATH_APPLICATION', PATH_ROOT . 'application' . DS );
define('PATH_MODULES', PATH_APPLICATION . 'modules' . DS );
define('PATH_CONTROLLERS', PATH_APPLICATION . 'controllers' . DS );
define('PATH_BEANS', PATH_APPLICATION . 'beans' . DS );
define('PATH_MODELS', PATH_APPLICATION . 'models' . DS );
define('PATH_VIEWS', PATH_APPLICATION . 'views' . DS );
define('PATH_VIEWS_COMMONS', PATH_VIEWS . 'commons' . DS );
define('PATH_VIEWS_LAYOUTS', PATH_VIEWS . 'layouts' . DS );
define('PATH_LAYOUTS', PATH_VIEWS . 'layouts' . DS );
define('PATH_HELPERS', PATH_APPLICATION . 'helpers' . DS );
define('PATH_LANGUAGES', PATH_APPLICATION . 'languages' . DS );
define('PATH_ASSETS', PATH_APPLICATION . 'assets' . DS );
//Require base Model
require_once(PATH_CORE_BASE .'iModel.php');
require_once(PATH_CORE_BASE .'BaseModel.php');
//Require base Controller
require_once(PATH_CORE_BASE .'iController.php');
require_once(PATH_CORE_BASE .'BaseController.php');
//Require Application
require_once(PATH_APPLICATION .'Application.php');
require_once(PATH_APPLICATION .'init.php');
//Require Router
require_once(PATH_CORE_BASE .'Router.php');
//Require Loader
require_once(PATH_CORE_BASE .'BaseLoader.php');
require_once(PATH_CORE_BASE .'Loader.php');
//Require Logger
require_once(PATH_CORE_BASE .'Logger.php');
//Require config
require_once(PATH_CONFIGS .'conf.php');
//Require MemcachedService
//require_once(PATH_CORE_SERVICES.'MemcachedService.php');
?>
